<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>easytp5简易留言板</title>

    <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css">
    <script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>

</head>
<body>
<div class="container">
    <h2><a href="{$Think.server.script_name}/index/bbs/show/">easytp5简易留言板</a></h2>

    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title panel-primary"> {$list.0.title}</h3>
        </div>

        <div class="panel-body">
            {$list.0.content|default="这家伙很懒,什么也没留下"|}
        </div>
        <ul class="list-group">
            <li class="list-group-item">{$list.0.create_time |date="y-m-d h:i",###}</li>

        </ul>
    </div>


    <nav aria-label="...">
        <ul class="pager">
            {if condition="$up neq ''"}
            <li class="previous"><a href="{$up}"><span
                    aria-hidden="true">&larr;</span> 上一页</a></li>
            {else /}
            <li class="previous disabled"><span aria-hidden="true">&larr;上一页没有了</span> </li>
            {/if}
            {if condition="$next neq ''"}
            <li class="next"><a href="{$next}"> <span aria-hidden="true">&rarr;</span>下一页</a>
            </li>
            {else /}
            <li class="previous disabled"><span aria-hidden="true">&larr;下一页没有了</span> </li>
            {/if}
        </ul>
    </nav>

    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">扫码访问当前页面</h3>
        </div>
        <div class="panel-body">
            <img src="http://pan.baidu.com/share/qrcode?w=150&h=150&url={$Request.root.true}/{$Request.path}" />
        </div>
    </div>
</div>


</body>
</html>